package 责任链模式;

public class ZuZhang extends Handler {
    static int limit = 1;
    public boolean handle(Request request) {
        if (request.day<=limit){
            System.out.println("组长同意请求!");
            return true;
        }
        return getNext().handle(request);
    }
}
